6.3
MEDIUM CVSS 3.1
CVE-2025-48386
Git Wincred Buffer Overflow Vulnerability
Description

Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.

INFO

Published Date :

July 8, 2025, 7:15 p.m.

Last Modified :

July 10, 2025, 1:18 p.m.

Remotely Exploit :

No
Affected Products

The following products are affected by CVE-2025-48386 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Git git
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 MEDIUM [email protected]
Solution
A buffer overflow vulnerability exists in Git and Microsoft Visual Studio that can be remediated by updating the affected packages.
  • Update the Git package.
  • If using Visual Studio, apply the latest security updates.
Public PoC/Exploit Available at Github

CVE-2025-48386 has a 2 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-48386.

URL Resource
https://github.com/git/git/security/advisories/GHSA-4v56-3xvj-xvfr
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-48386 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

Updated: 6 days, 20 hours ago
0 stars 0 fork 0 watcher
Born at : Aug. 18, 2025, 8:30 p.m. This repo has been linked 56 different CVEs too.

None

HTML

Updated: 2 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : Aug. 10, 2025, 11:47 a.m. This repo has been linked 56 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-48386 vulnerability anywhere in the article.

  • Daily CyberSecurity
Git Project Patches 3 Flaws: RCE, Arbitrary File Writes & Buffer Overflow

The Git Project has released updates addressing three significant vulnerabilities impacting Git versions up to v2.50.0, including one that could allow remote code execution during repository cloning, ... Read more

Published Date: Jul 09, 2025 (1 month, 2 weeks ago)

The following table lists the changes that have been made to the CVE-2025-48386 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Jul. 08, 2025

    Action Type Old Value New Value
    Added Description Git is a fast, scalable, distributed revision control system with an unusually rich command set that provides both high-level operations and full access to internals. The wincred credential helper uses a static buffer (target) as a unique key for storing and comparing against internal storage. This credential helper does not properly bounds check the available space remaining in the buffer before appending to it with wcsncat(), leading to potential buffer overflows. This vulnerability is fixed in v2.43.7, v2.44.4, v2.45.4, v2.46.4, v2.47.3, v2.48.2, v2.49.1, and v2.50.1.
    Added CVSS V3.1 AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
    Added CWE CWE-120
    Added Reference https://github.com/git/git/security/advisories/GHSA-4v56-3xvj-xvfr
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 6.3
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact